﻿using Dyao.Book.Contract;

namespace Dyao.Book.Application
{
    /// <summary>
    /// 任务规则执行
    /// </summary>
    public class TaskCenterRuleExcutingContext
    {
        /// <summary>
        /// 任务参数信息
        /// </summary>
        public object Parameters { get; set; }

        /// <summary>
        /// TaskCode
        /// </summary>
        public string TaskCode { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public TaskCenterCategoryEnum Category { get; set; }

        /// <summary>
        /// 规则记录Id
        /// </summary>
        public int RuleId { get; set; }

        /// <summary>
        /// 规则名
        /// </summary>
        public string RuleDisplayName { get; set; }
        
    }
}
